const fs = require('fs')
const path = require('path')
console.log(__dirname)
console.log(__filename);
console.log(path.join(__dirname, '1.txt'))
fs.appendFile(path.join(__dirname,'1.txt'),'龚随是傻呗',(ele,data)=>{
  console.log('写入成功')
})